package com.lcq.gulimall.search.feign;

import com.lcq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-product")
public interface ProductFeign {
    @RequestMapping("product/brand/name/{brandId}")
    R brandName(@PathVariable("brandId") Long brandId);
    @RequestMapping("product/attr/name/{attrId}")
    R attrName(@PathVariable("attrId") Long attrId);
}
